package com.example.presentshopping.config.bean;

import java.util.List;

public class CategoryListBean {


    /**
     * code : 0
     * msg : 获取商品分类列表成功
     * data : {"list":[{"id":1275,"name":"家居百货"},{"id":1280,"name":"家用电器"},{"id":1270,"name":"生鲜"},{"id":1284,"name":"美妆个护"},{"id":1295,"name":"精选箱包"},{"id":1288,"name":"服饰配件"},{"id":1298,"name":"数码办公"},{"id":1291,"name":"拼团产品"},{"id":1292,"name":"运动器材"},{"id":1301,"name":"母婴用品"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 1275
             * name : 家居百货
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
